<template>
  <div class="flex flex-col h-screen w-full">
    <message></message>
    <header-component/>
    <n-config-provider :locale="zhCN" :date-locale="dateZhCN">
      <n-message-provider>
        <n-dialog-provider>
          <main class="h-[calc(100vh-62px-48px)] overflow-auto">
            <RouterView />
          </main>
          <copyright-icp></copyright-icp>
        </n-dialog-provider>
      </n-message-provider>
    </n-config-provider>
  </div>
</template>


<script setup lang="ts">
import Message from "@/layout/message.vue";
import {dateZhCN, NConfigProvider, NDialogProvider, NMessageProvider, zhCN} from "naive-ui";
import CopyrightIcp from "@/components/copyright-icp.vue";
import HeaderComponent from "@/components/HeaderComponent.vue";
</script>

<style scoped>
</style>
